class DimFileinfoEntity {
  //@ApiModelProperty("id")
  String id;

  //@ApiModelProperty("关联主表主键 比如小区或楼栋id")
  String relaSrckey;

  //@ApiModelProperty("关联源表")
  String relaSrctab;

  //@ApiModelProperty("文件类型")
  String fileType;

  //@ApiModelProperty("文件业务类型")
  String fileBtype;

  //@ApiModelProperty("文件路径")
  String filePath;

  //@ApiModelProperty("文件序号")
  String fileSeq;

  //@ApiModelProperty("状态")
  String attrState;

  //@ApiModelProperty("文件名称")
  String fileName;

  //@ApiModelProperty("文件路径")
  String fileSdcardPath;
  String videoPath;

  List<int> imageData;
  DimFileinfoEntity(
      {this.fileBtype,
      this.fileName,
      this.relaSrckey,
      this.filePath,
      this.attrState,
      this.fileSeq,
      this.id,
      this.fileType,
      this.relaSrctab});

  DimFileinfoEntity.fromJson(Map<String, dynamic> json) {
    fileBtype = json['fileBtype'];
    fileName = json['fileName'];
    relaSrckey = json['relaSrckey'];
    filePath = json['filePath'];
    attrState = json['attrState'];
    fileSeq = json['fileSeq'];
    id = json['id'];
    fileType = json['fileType'];
    relaSrctab = json['relaSrctab'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['fileBtype'] = this.fileBtype;
    data['fileName'] = this.fileName;
    data['relaSrckey'] = this.relaSrckey;
    data['filePath'] = this.filePath;
    data['attrState'] = this.attrState;
    data['fileSeq'] = this.fileSeq;
    data['id'] = this.id;
    data['fileType'] = this.fileType;
    data['relaSrctab'] = this.relaSrctab;
    return data;
  }
}
